package pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class HospitalBed {
    private Integer id;
    private String bedType;
    private String bedAddress;
    private Boolean isAvailable;
    private String patientName;
    private String patientId;
    private String guardianPhone;
//    private Timestamp checkInTime;
//    private Timestamp expectedCheckOutTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp checkInTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp expectedCheckOutTime;

    private String touxiang;
    // Getters and Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBedType() {
        return bedType;
    }

    public void setBedType(String bedType) {
        this.bedType = bedType;
    }

    public String getBedAddress() {
        return bedAddress;
    }

    public void setBedAddress(String bedAddress) {
        this.bedAddress = bedAddress;
    }

    public Boolean getAvailable() {
        return isAvailable;
    }

    public void setAvailable(Boolean available) {
        isAvailable = available;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getGuardianPhone() {
        return guardianPhone;
    }

    public void setGuardianPhone(String guardianPhone) {
        this.guardianPhone = guardianPhone;
    }

    public Timestamp getCheckInTime() {
        return checkInTime;
    }

    public void setCheckInTime(Timestamp checkInTime) {
        this.checkInTime = checkInTime;
    }

    public Timestamp getExpectedCheckOutTime() {
        return expectedCheckOutTime;
    }

    public void setExpectedCheckOutTime(Timestamp expectedCheckOutTime) {
        this.expectedCheckOutTime = expectedCheckOutTime;
    }

    public void setTouxiang(String touxiang) {
        this.touxiang = touxiang;
    }

    public String getTouxiang() {
        return touxiang;
    }
}